package com.itheima.leetcode.od.c.logicalsimulation;

import java.util.Arrays;
import java.util.Scanner;

/**
 * <h3>运输时间</h3>
 */
public class TransitTime {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int[] params = Arrays.stream(in.nextLine().split(" "))
                .mapToInt(Integer::parseInt)
                .toArray();
        int M = params[0];
        int N = params[1];

        int[] cars = new int[M];
        for (int i = 0; i < M; i++) {
            cars[i] = Integer.parseInt(in.nextLine());
        }
        double result = 0;

        int i = 0;
        while (i < M) {
            if (i == 0) {
                result = Double.valueOf(N) / cars[i];
            } else if (result <= Double.valueOf(N) / cars[i] + 1) {
                result = Double.valueOf(N) / cars[i];
            } else {
                result = result - 1;
            }
            i += 1;
        }

        System.out.println(String.format("%.1f", result));
    }
}